package com.k2091.washcar.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("users_shopping")
public class UsersShopping implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 对应用户表的用户名
     */
    private String name;

    /**
     * 对应商品表的id
     */
    private Long commodityId;

    private Integer amount;

    private Double amountPayable;

    private Double coupon;

    private Double actuallyPaid;

    private LocalDate startingTime;

    private LocalDate accomplishTime;

    private String site;

    private String phoneNumber;

    /**
     * 1代发货 2待收货
     */
    private Integer status;


}
